package com.spring.zy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("rc")
public class ResponseController {
    @RequestMapping("view")
    public String view(){
        return "view";
    }
    @ResponseBody
    @RequestMapping("/a")
    public String a(){
        return "ok";
    }
}
